package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IPermissionService {
    void delete(Long id);
    List<Permission> list();
    PageResult query(QueryObject qo);
    PageResult selectAllNames();

    PageResult queryByRoleId(Long roleId);

    void reload();
}
